package com.gfm.story.entity.advertisements;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gfm.story.entity.base.BaseBean;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @BelongsProject: book
 * @BelongsPackage: com.gfm.book.entity.advertisements
 * @Author: Administrator
 * @CreateTime: 2019-06-14 14:34
 * @Description: 广告
 */
@Entity(name = "advertisements")
@Table(name = "advertisements")
@TableName(value = "advertisements")
@Data
public class Advertisements extends BaseBean<Advertisements> {

    private String advertisementsName;

    private String advertisementsImgUrl;

    private String hrefUrl;



    /**
     * 图片现有Id
     */
    @TableField(exist = false)
    @Transient
    private Long addImgId;

    /**
     * 图片原有Id
     */
    @TableField(exist = false)
    @Transient
    private Long delImgId;


}
